package cn.iocoder.yudao.module.fengdong.smartelderly.controller.admin.oldman.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.Pattern;


/**
 * 老人管理 Excel VO
 *
 * @author 沣东养老院管理员
 */
@Data
public class OldmanExcelVO {

    @ExcelProperty("编号")
    private Long id;

    @ExcelProperty("姓名")
    private String name;

    @ExcelProperty("身份证")
    private String identityCard;
    @ExcelProperty("手机号")
    private String phoneNumber;

    @ExcelProperty("年龄")
    private Integer age;

    @ExcelProperty( "监护人姓名")
    private String guardianName;

    @ExcelProperty( "监护人身份证")
    private String guardianCard;

    @ExcelProperty("监护人手机号")
    private String guardianNumber;

    @ExcelProperty("备注")
    private String mark;

    @ExcelProperty("房间号")
    private Integer roomId;

    @ExcelProperty("二维码")
    private String qrUrl;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "性别", converter = DictConvert.class)
    @DictFormat("system_user_sex") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer sex;

    @ExcelProperty(value = "状态 ", converter = DictConvert.class)
    @DictFormat("is_initiate") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer type;

    @ExcelProperty("楼层/和间号(格式：楼层/房间号)")
    private String floorRoom;

    @ExcelProperty("积分")
    private Integer point;

    @ExcelProperty("其他信息")
    private String others;

}
